<html xmls:th="http://www.thymeleaf.com"
      xmlns:sec="http://www.thymeleaf.org/thymeleaf-extras-springsecurity4">
<head>
    <title>欢迎您登陆本平台</title>
    <th:block th:include="import :: links"></th:block>
    <link th:href="@{/plugins/checkbix/css/checkbix.min.css}" rel="stylesheet"/>
    <link th:href="@{/css/login.css}" rel="stylesheet"/>
</head>
<body>
<div id="login-window">
    <form action="/login" method="post" id="loginForm">
        <div class="input-group m-b-20">
            <span class="input-group-addon"><i class="fa fa-user"></i></span>
            <div class="fg-line">
                <input id="username" type="text" class="form-control" name="username" placeholder="帐号"
                       required="required" autofocus="autofocus"/>
            </div>
        </div>
        <div class="input-group m-b-20">
            <span class="input-group-addon"><i class="fa fa-lock"></i></span>
            <div class="fg-line">
                <input id="password" type="password" class="form-control" name="password" placeholder="密码"
                       required="required"/>
                <input type="hidden" th:name="${_csrf.parameterName}" th:value="${_csrf.token}"/>
            </div>
        </div>
        <div class="clearfix">
        </div>
        <a id="login-bt" href="javascript:;" class="waves-effect waves-button waves-float"><i class="fa fa-sign-in"></i></a>
    </form>
</div>
<script type="text/javascript" th:src="@{/plugins/jquery.1.12.4.min.js}"></script>
<script type="text/javascript" th:src="@{/plugins/bootstrap/js/bootstrap.min.js}"></script>
<script type="text/javascript" th:src="@{/plugins/waves-0.7.5/waves.min.js}"></script>
<script type="text/javascript" th:src="@{/plugins/checkbix/js/checkbix.min.js}"></script>
<script type="text/javascript" th:src="@{/js/login.js}"></script>
</body>
</html>